@media only screen and (max-width: 840px) {
    header {
        font-size: 14px;
        line-height: 50px;
        height: 50px;
    }

    header .cover {
        height:50px;
        /*background: #333;*/
        /*opacity: 1;*/
    }
    header nav {
        display: none;
        background: #333;
    }
    header .menu-list {
        width: 80%;
        padding: 20px 0;
        margin: 0 auto;
    }
    .menu-list li {
        border-bottom: 1px solid #e1e1e1;
    }
    header .menu-list a {
        font-size: 18px;
    }
    header .sm-nav {
        display: block;
        width: 90%;
        padding: 0 5%;
        color: #fff;
        position: absolute;
        top: 0;
    }
    .sm-nav div{
        width: 10%;
        height: 50px;
        float: left;
        text-align: center;
    }
    .sm-nav div:nth-child(2) {
        width: 80%;
    }
    .sm-nav a {
        display: inline-block;
        width: 30px;
        background-repeat: no-repeat;
    }

    .sm-nav .menu a{
        background: url(../img/line.png) no-repeat left 12px,url(../img/line.png) no-repeat left 18px;
        background-size: 20px;
    }
    .sm-nav div:nth-child(2) a {
        background: url(../img/apple.png) no-repeat center;
        background-size: 24px;
    }
    .sm-nav div:nth-child(3) a {
        background: url(../img/lock.png) no-repeat right center;
        background-size: 20px;
    }

    /*轮播*/
    .slide {
        height: 540px;
    }
    .slide-box {
        position: absolute;
        height: 100%;
    }
    .slide-box li {
        width: 20%;
    }
    .slide img {
        width: 300px;
    }
    .slide h1 {
        font-size: 34px !important;
        line-height: 46px;
    }
    .slide p {
        font-size: 20px !important;
    }
    #l1 a {
        background-position: center 70%,center 25%;
        background-size: 85%,36%;
    }
    #l2 a {
        background-position: center 300px, center 24%, center 34%;
        background-size: 110%, 36%,90%;
    }
    #l3 a {
        background-position: center 80%, center 30%;
        background-size: 90%, 55%;
    }
    #l4 a {
        background-position: center 28%, center 40%,center 70%;
        background-size: 28%,37%,70%;
    }
    #l5 a {
         background-position: center 50%, center 65%,center 0;
        background-size: 25%,50%,100%;
    }

    /*dots*/
    .slide .dots {
        left: 38%;
    }
    .dots li {
        margin-right: 10px;
    }
    /*中间图片*/
    .pic li {
        width: 100%;
    }
    .pic li:nth-child(1) {
        background: url(../img/mid-pic/whereisthelove_medium.jpg) center;
    }
    .pic li:nth-child(2) {
        background: url(../img/mid-pic/swift_playground_medium.jpg) center;
    }
    .pic li:nth-child(3) {
        background: url(../img/mid-pic/accessories_medium.jpg) center;
    }
    .pic li:nth-child(4) {
        background: url(../img/mid-pic/event_teaser_medium.jpg) center;
    }
    /*Donate*/
    .donate p {
        font-size: 16px;
        line-height: 1.5;
        width: 100%;
    }
    .donate .p1 {
        height: 70px;
        background: url(../img/redcross_banner_large.jpg) no-repeat center;
    }
    .donate .p2 {
        width: 300px;
        height: 110px;
        margin: 0 auto;
        text-align: center;
    }
    .donate .p2 a,
    .donate .p2 span {
        display: block;
    }
    /*footer*/
    footer {
        padding: 30px 10px;
    }
    footer dl{
        border-bottom: 1px solid #e1e1e1;
    }
    footer dl.no-border{
        border-bottom: none;
    }
    footer dt{
        width: 100%;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        position: relative;
    }
    footer dd{
        display: none;
    }
    footer .sec span {
        width: 20px;
        height: 20px;
        line-height: 20px;
        cursor: pointer;
        transition: 200ms;
        position: absolute;
        right: 10px;
        top: 12px;
    }
    .rotate {
        width: 8px;
        height: 8px;
        -moz-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        right: 12px !important;
        top: 15px !important;
    }
    footer .sec a {
        padding-left:10px;
        line-height: 30px;
    }
    
    footer .site {
        display: block;
    }
}
